//
//	GXResult.m
//
//	Create by 曹 曹 on 10/8/2016
//	Copyright © 2016. All rights reserved.
//	Model file generated using JSONExport: https://github.com/Ahmed-Ali/JSONExport



#import "GXResult.h"
#import "GXBrandlist.h"

@interface GXResult ()
@end
@implementation GXResult

- (void)setValue:(id)value forKey:(NSString *)key {
    [super setValue:value forKey:key];
    if ([key isEqualToString:@"brandlist"]) {
        NSMutableArray<GXBrandlist *> *brandlistArray = [NSMutableArray array];
        for (NSDictionary *dictionary in value) {
            GXBrandlist *brandlist = [GXBrandlist modelWithDictionary:dictionary];
            [brandlistArray addObject:brandlist];
        }
        _brandlist = brandlistArray;
    }
}

@end
